build:
  image: aergus/latex
  stage: build
  script:
    - make
    - mkdir -p public
    - cp proposal/proposal.pdf public/
  artifacts:
    paths:
      - public

pages:
  image: wehlutyk/haunt:0.1.0
  stage: deploy
  script:
  - cd site
  - BASEURL=/eldm2020 haunt build
  - cd ..
  - mv site/site/* public
  artifacts:
    paths:
    - public
  only:
  - master
